An exercise in coinduction: Moessner’s theorem
نویسنده
چکیده
We present a coinductive proof of Moessner’s theorem. This theorem describes the construction of the stream (1n, 2n, 3n, . . .) (for n ≥ 1) out of the stream of natural numbers by repeatedly dropping and summing elements. Our formalisation consists of a direct translation of the operational description of Moessner’s procedure into the equivalence of in essence two functional programs. Our proof fully exploits the circularity that is present in Moessner’s procedure and is more elementary than existing proofs. As such, it serves as a non-trivial illustration of the relevance and power of coinduction.
منابع مشابه
A proof of Moessner's theorem by coinduction
We present a coinductive proof of Moessner’s theorem. This theorem describes the construction of the stream (1,2,3, . . .) (for n≥ 1) out of the stream of positive natural numbers by repeatedly dropping and summing elements. Our formalisation consists of a direct translation of the operational description of Moessner’s procedure into the equivalence of—in essence—two functional programs. Our pr...
متن کاملMoessner's Theorem: An Exercise in Coinductive Reasoning in Coq
Moessner’s Theorem describes a construction of the sequence of powers (1, 2, 3, . . . ), by repeatedly dropping and summing elements from the sequence of positive natural numbers. The theorem was presented by Moessner in 1951 without a proof and later proved and generalized in several directions. More recently, a coinductive proof of the original theorem was given by Niqui and Rutten. We presen...
متن کاملFormalizing Moessner’s Theorem in NUPRL
Moessner’s theorem describes a procedure for generating a sequence of n integer sequences that lead unexpectedly to the sequence of nth powers 1n, 2n, 3n, . . . . Several generalizations of Moessner’s theorem exist and, recently, Kozen and Silva gave an algebraic proof of a general theorem which deals with Moessner’s original theorem and its know generalizations. In this note, we describe the f...
متن کاملFormalizing Moessner’s Theorem and Generalizations in Nuprl
Moessner’s theorem describes a procedure for generating a sequence of n integer sequences that lead unexpectedly to the sequence of nth powers 1, 2, 3, . . . . Several generalizations of Moessner’s theorem exist. Recently, Kozen and Silva gave an algebraic proof of a general theorem that subsumes Moessner’s original theorem and its known generalizations. In this note, we describe the formalizat...
متن کاملOn Moessner's Theorem
Moessner’s theorem describes a procedure for generating a sequence of n integer sequences that lead unexpectedly to the sequence of nth powers 1n, 2n, 3n, . . . . Paasche’s theorem is a generalization of Moessner’s; by varying the parameters of the procedure, one can obtain the sequence of factorials 1!, 2!, 3!, . . . or the sequence of superfactorials 1!!, 2!!, 3!!, . . . . Long’s theorem gene...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2011